package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.dto.HuaLongMedicRecordQueryDto;
import com.csun.cmny.provider.model.domain.OmcHuaLongMedicRecord;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2020-11-09 10:36
 * @Description:
 */
public interface OmcHuaLongMedicRecordService extends IService<OmcHuaLongMedicRecord> {

    /**
     * 保存发药记录
     *
     * @param omcHuaLongMedicRecord the omc hua long medic record
     * @param loginAuthDto  the login auth dto
     *
     * @return  the int.
     */
    Integer save(OmcHuaLongMedicRecord omcHuaLongMedicRecord, LoginAuthDto loginAuthDto);

    /**
     * 查询发药单列表
     *
     * @param huaLongMedicRecordQueryDto    the hua long medic record query dto
     *
     * @return  the list omc hua long medic record
     */
    List<OmcHuaLongMedicRecord> queryListWithPage(HuaLongMedicRecordQueryDto huaLongMedicRecordQueryDto);
}
